<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" media="screen" type="text/css" href="__THEMES__/style/layout.css" />
		<script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
		<script type="text/javascript" src="__JS__/jQuery/plugin/troperate.js"></script>
	</head>
	<body>
		<include file="Public:position" />
					
		<div class="button" style="margin-top:10px;">
    		<input type="button" value="新增职位" class="submit" id="add" onclick="window.location.href='{:U('add?tag='.$_GET['tag'])}';" />
    	</div>
		<table width="100%">
			<tr style="background: #f0f7ff; font-weight: bold;">
				<td width="60" align="center" class="left_text">编号</td>
				<td align="center" class="left_text">名称</td>
				<td align="center" class="left_text">发布人</td>
				<td align="center" class="left_text">发布时间</td>
				<td align="center" width="180" class="left_text">状态</td>
				<td align="center" width="100" class="left_text">操作</td>
			</tr>
			<volist id="vo" name="list">
			<tr rel="{$vo['id']}" class="row_color"<?php if( ( $i % 2 ) == 0 ){ ?> bgcolor="#f9f9f9"<?php } ?>>
				<td align="center">{$vo['id']}</td>
				<td align="left"><a href="{:U('edit?id='.$vo['id'].'&tag='.$_GET['tag'])}">{$vo['name']}</a></td>
				<td align="center">{$vo['author']|getAuthorName}</td>
				<td align="center">{$vo['create_time']|date="Y-m-d",###}</td>
				<td align="center">{$vo['status']|getStatus}</td>
				<td align="center">{$vo['status']|showStatus=$vo['id']}<span class="action_line">|</span><a href="{:U('edit?id='.$vo['id'].'&tag='.$_GET['tag'])}">编辑</a></td>
			</tr>
			</volist>
		</table>
		<!-- /body -->
		<div class="page">{$page}</div>
	</body>
</html>